home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 4
/
Aminet 4 - November 1994.iso
/
aminet
/
comm
/
bbs
/
fax_it_cnet.lzh
/
FAX-IT
/
datacall.gpf
< prev
next >
Wrap
Text File
|
1994-09-10
|
2KB
|
63 lines
/*
* Start the BBS!
*
* This is a sample of what you should have in your call ARexx script
* for calling the BBS.
*
* In order for your BBS to properly send out the FAX messages you will
* need to have this script in your GPFax directory. If you do not intend
* to use your FAX modem for the BBS but you are going to have it online
* at all times to send/receive FAXs then this script may not be needed
*/
options results
/* To keep FAX-IT from trying to use the GPFax program while a caller
* is using the FAX modem, an empty file is placed in the T: directory.
* The ECHO command is used to remove any chance of ARexx error.
*/
Shell Command 'c:Echo >T:FAXnode ""'
/* Now we must talk to GPFax
*/
address rexx_gpfax
BAUDRATE ; br=result
/* This next line is optional. All it does is add a line to the
* system log stating a FAX line call came in
*/
address command 'Echo >>Cnet:sysdata/log/calls k1Baud='br'k0q1'
/* Now to call the BBS
*address command 'Cnet:bb -B'br' -U1 -L1 -G -7 -S'
*/
/* Now that the user is off the line, lets wait a moment, remove the
* FAX in use indicator in the T: directory and finaly check to see if
* any FAX mail needs to be processed
*/
shell command 'c:wait 2'
shell command 'C:delete t:FAXnode#?'
/* The DOS command RUN is used here to allow GPFax to have control back
* from this script. If RUN is not used, the next script called will not
* be able to access GPFax and in this case, no FAX mail will be sent.
*/
shell command 'C:Run RX Doors:Fax-IT/AutoFAX.gpf'
shell command 'C:Run RX Doors:Fax-IT/FAX-Trap'